package tech.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.entity.Level;
import tech.aistar.mapper.LevelMapper;
import tech.aistar.service.ILevelService;

@Service
public class LevelServiceImpl implements ILevelService {
    @Autowired
    private LevelMapper levelMapper;

    @Override
    public Level findUserlevel(String uid) {
        return levelMapper.findUserlevel(uid);
    }

    @Override
    public int insertUserlevel(String uid) {
        return levelMapper.insertUserlevel(uid);
    }

    @Override
    public Integer findlevel(Integer uid) {
        return levelMapper.findlevel(uid);
    }

    //升级 - 等级
}
